package com.tarena.luban.worker.server.repo.impl;

import com.tarena.luban.worker.server.dao.TestDao;
import com.tarena.luban.worker.server.repo.TestRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class TestRepositoryImpl implements TestRepository {
    @Autowired
    private TestDao testDao;
    @Override
    public Integer countWorkers() {
        return testDao.selectWorkerCount();
    }
}
